import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import '@/icons'
import Cookies from 'js-cookie'

import '@/styles/index.scss' // global css


Vue.config.productionTip = false
Vue.use(ElementUI, {
    size: Cookies.get('size') || 'medium'
})


new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')
